package com.iwunu.gateway.service;

import com.iwunu.iot.common.util.Result;

/**
 * @author kinfeng
 * @date 2019/6/13 11:35 AM
 * @description
 */
public interface OrgLoginService {

    /**
     * 登录
     * @param loginParamVo
     * @return
     * @throws Exception 
     */
    Result login(String phone, String password) throws Exception;

    /**
     * 刷新token
     * @param authorization
     * @return
     */
    Result refreshToken(String authorization);


}
